#ifndef _CMP_OPA_CALIBRATION_H_
#define _CMP_OPA_CALIBRATION_H_

#define CMP0C0_SECTOR 	0x00
#define CMP0C0_ADDR 	0x41
#define CMP1C0_SECTOR 	0x00
#define CMP1C0_ADDR 	0x45
#define CMP2C0_SECTOR 	0x00
#define CMP2C0_ADDR 	0x48
#define CMP3C0_SECTOR 	0x00
#define CMP3C0_ADDR 	0x4B
#define CMP4C0_SECTOR 	0x00
#define CMP4C0_ADDR 	0x4F
#define CMP5C0_SECTOR 	0x01
#define CMP5C0_ADDR 	0x5A

#define OVPCAL_ADDR		0x54

void CMP_OPA_Init(void);
void Calibration_OPA(void);
void Calibration_CMP0(void);
void Calibration_CMP(u8 sector, u8 addr);
void ISR_CMP_OPA_Init(void);
#endif